﻿using System;
using Abp.Application.Services.Dto;
using System.ComponentModel.DataAnnotations.Schema;

namespace ARchGL.Platform.Electrocar.Application.Dto
{
    /// <summary>
    /// 车身信息 ViewModel
    /// </summary>
    [NotMapped]
    public class CarBodysDto : EntityDto<Guid>
    {
        /// <summary>
        /// JSON 值
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 数据类型：1数值、2文件
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 项目标识（车型标识）
        /// </summary>
        public Guid ProjectId { get; set; }
        /// <summary>
        /// 父级标识
        /// </summary>
        public Guid ParentId { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 级别
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Level { get; set; }
        /// <summary>
        /// 创建用户标识
        /// </summary>
        public long? CreatorUserId { get; set; }
        /// <summary>
        /// 创建用户名称
        /// </summary>
        public string CreatorUserName { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? LastModificationTime { get; set; }
        /// <summary>
        /// 删除用户标识
        /// </summary>
        public long? DeleterUserId { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletionTime { get; set; }
    }
}
